(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/order/refund" ], {
    "0880": function(n, t, e) {
        (function(n) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var o = {
                components: {
                    shoproMiniCard: function() {
                        e.e("components/shopro-mini-card/shopro-mini-card").then(function() {
                            return resolve(e("e6d5"));
                        }.bind(null, e)).catch(e.oe);
                    },
                    shoproModal: function() {
                        e.e("components/shopro-modal/shopro-modal").then(function() {
                            return resolve(e("c359"));
                        }.bind(null, e)).catch(e.oe);
                    }
                },
                data: function() {
                    return {
                        showModal: !1,
                        imgList: [],
                        modalDetail: {},
                        goodsState: {
                            title: "货物状态",
                            list: [ {
                                id: 1,
                                val: "已收到货"
                            }, {
                                id: 2,
                                val: "未收到货"
                            } ]
                        },
                        refundList: {
                            title: "退款原因",
                            list: [ {
                                id: 1,
                                val: "卖家发错货了"
                            }, {
                                id: 2,
                                val: "退运费"
                            }, {
                                id: 3,
                                val: "大小/重量于商品描述不符"
                            }, {
                                id: 4,
                                val: "生产日期、保质期与商品不符"
                            }, {
                                id: 5,
                                val: "质量问题"
                            } ]
                        }
                    };
                },
                computed: {},
                methods: {
                    chooseImg: function() {
                        var o = this;
                        o.$tools.chooseImage(1).then(function(n) {
                            o.imgList.push(n);
                        });
                    },
                    DelImg: function(o) {
                        var t = this;
                        n.showModal({
                            title: "删除照片",
                            content: "确定要删除这张照片么？",
                            cancelText: "取消",
                            confirmText: "删除",
                            success: function(n) {
                                n.confirm && t.imgList.splice(o, 1);
                            }
                        });
                    },
                    onSel: function(n) {
                        switch (n) {
                          case 1:
                            this.modalDetail = this.goodsState;
                            break;

                          case 2:
                            this.modalDetail = this.refundList;
                        }
                        this.showModal = !0;
                    }
                }
            };
            t.default = o;
        }).call(this, e("543d").default);
    },
    "0fe4": function(n, o, t) {
        t.d(o, "b", function() {
            return i;
        }), t.d(o, "c", function() {
            return a;
        }), t.d(o, "a", function() {
            return e;
        });
        var e = {
            shoproMiniCard: function() {
                return t.e("components/shopro-mini-card/shopro-mini-card").then(t.bind(null, "e6d5"));
            },
            shoproModal: function() {
                return t.e("components/shopro-modal/shopro-modal").then(t.bind(null, "c359"));
            }
        }, i = function() {
            this.$createElement;
            this._self._c;
        }, a = [];
    },
    ba76: function(n, o, t) {
        t.r(o);
        var e, i = t("0880"), a = t.n(i);
        for (e in i) "default" !== e && function(n) {
            t.d(o, n, function() {
                return i[n];
            });
        }(e);
        o.default = a.a;
    },
    bd33: function(n, o, e) {
        (function(n) {
            e("767a"), t(e("66fd"));
            var o = t(e("dbfa"));
            function t(n) {
                return n && n.__esModule ? n : {
                    default: n
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = e, n(o.default);
        }).call(this, e("543d").createPage);
    },
    c10d: function(n, o, t) {},
    dbfa: function(n, o, t) {
        t.r(o);
        var e, i = t("0fe4"), a = t("ba76");
        for (e in a) "default" !== e && function(n) {
            t.d(o, n, function() {
                return a[n];
            });
        }(e);
        t("fb4b");
        var c = t("f0c5"), i = Object(c.a)(a.default, i.b, i.c, !1, null, null, null, !1, i.a, void 0);
        o.default = i.exports;
    },
    fb4b: function(n, o, t) {
        var e = t("c10d");
        t.n(e).a;
    }
}, [ [ "bd33", "common/runtime", "common/vendor" ] ] ]);